﻿using System;

namespace DesignPattern.Adapter
{
    public interface IAdapter
    {
        void Request();
    }

    public class Adaptee
    {
        public void SpecialRequest()
        {
        }
    }

    public class Adapter : IAdapter
    {
        private Adaptee m_adaptee;

        public Adapter()
        {
            m_adaptee = new Adaptee();
        }

        public void Request()
        {
            m_adaptee.SpecialRequest();
        }
    }
}
